<template>
   <div class="">
    <img width="300" height="300"  id="img" src="./assets/a.png" alt="">
    <!-- <HooksA a='456' title='123'></HooksA> -->
   </div>
</template>

<script setup lang='ts'>
import {ref ,reactive} from 'vue'
// import HooksA from './components/HooksA.vue'
import useBase64 from './hooks/index'

useBase64({el:'#img'}).then(res=>{
  console.log(res.baseUrl);
  
})
</script>

<style scoped>

</style>